/* File Info 
 * Author:      cknight 
 * CreateTime:  2021/1/20 下午1:18:52 
 * LastEditor:  cknight 
 * ModifyTime:  2021/1/25 下午1:18:00 
 * Description: 监听群聊用户加入
 */

async function onRoomJoin(room, inviteeList, inviter) {
    const nameList = inviteeList.map(c => c.name()).join(",");
    console.log(
        `Room ${room.topic()} got new member ${nameList}, invited by ${inviter}`
    );
}

module.exports = onRoomJoin;